﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Frame_Arrow.aspx.cs" Inherits="Garlic.Frame_Arrow" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>navigation</title>
    <link href="themes/blue/global.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        function Submit_onclick() {
            if (parent.document.getElementById('frame_nav').cols == "173,12,*") {
                parent.document.getElementById('frame_nav').cols = "0,12,*";
                document.getElementById("ImgArrow").src = "themes/blue/images/frame/arrow_bg_right.png";
                document.getElementById("ImgArrow").alt = "打开左侧导航栏";
            } else { 
                parent.document.getElementById('frame_nav').cols = "173,12,*";
                document.getElementById("ImgArrow").src = "themes/blue/images/frame/arrow_bg_left.png";
                document.getElementById("ImgArrow").alt = "隐藏左侧导航栏";
            }
        } </script>
</head>
<body id="arrow_body">
    <div id="arrow">
        <a href="javascript:Submit_onclick()">
            <img id="ImgArrow" src="themes/blue/images/frame/arrow_bg_left.png" alt="隐藏左侧导航栏" />
        </a>
    </div>
</body>
</html>
